package com.glory.cqaospda.adapter;


import com.chad.library.adapter.base.BaseQuickAdapter;
import com.chad.library.adapter.base.viewholder.BaseViewHolder;
import com.glory.cqaospda.R;
import com.glory.cqaospda.bean.LotInfoBean;

import java.util.List;

import androidx.annotation.Nullable;

public class LotListAdapter extends BaseQuickAdapter<LotInfoBean.Sublotlist, BaseViewHolder> {

    public LotListAdapter(@Nullable List<LotInfoBean.Sublotlist> data) {
        super(R.layout.adapter_sublotlist, data);
    }

    @Override
    protected void convert(BaseViewHolder helper, LotInfoBean.Sublotlist item) {
        helper.setText(R.id.tvLotId, item.getMSubLotID());
        helper.setText(R.id.tvPas, item.getMSubLotPassNumber());
    }

}
